U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
isNat(X) → n__isNat(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(activate(X))
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
isNat(X) → n__isNat(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(activate(X))
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
U111(tt, V1, V2) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U511(tt, M, N) → ACTIVATE(N)
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
U511(tt, M, N) → PLUS(activate(N), activate(M))
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X2)
ACTIVATE(n__s(X)) → ACTIVATE(X)
X(N, 0) → ISNAT(N)
U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
ACTIVATE(n__0) → 01
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
X(N, s(M)) → ISNAT(M)
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X1)
U311(tt, V1, V2) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__x(X1, X2)) → X(activate(X1), activate(X2))
U411(tt, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
ACTIVATE(n__and(X1, X2)) → AND(activate(X1), X2)
ACTIVATE(n__s(X)) → S(activate(X))
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V1)
U711(tt, M, N) → ACTIVATE(N)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X2)
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
U121(tt, V2) → ACTIVATE(V2)
PLUS(N, s(M)) → ISNAT(M)
U511(tt, M, N) → ACTIVATE(M)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U211(tt, V1) → U221(isNat(activate(V1)))
ACTIVATE(n__and(X1, X2)) → ACTIVATE(X1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U511(tt, M, N) → S(plus(activate(N), activate(M)))
U311(tt, V1, V2) → ISNAT(activate(V1))
U121(tt, V2) → ISNAT(activate(V2))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__plus(X1, X2)) → PLUS(activate(X1), activate(X2))
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
PLUS(N, 0) → ISNAT(N)
X(N, 0) → AND(isNat(N), n__isNatKind(N))
U611(tt) → 01
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
U111(tt, V1, V2) → ISNAT(activate(V1))
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
U321(tt, V2) → ISNAT(activate(V2))
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
U121(tt, V2) → U131(isNat(activate(V2)))
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U211(tt, V1) → ACTIVATE(V1)
X(N, 0) → U611(and(isNat(N), n__isNatKind(N)))
U311(tt, V1, V2) → ACTIVATE(V2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U711(tt, M, N) → X(activate(N), activate(M))
U321(tt, V2) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X1)
U321(tt, V2) → U331(isNat(activate(V2)))
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
isNat(X) → n__isNat(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(activate(X))
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
U111(tt, V1, V2) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U511(tt, M, N) → ACTIVATE(N)
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
U511(tt, M, N) → PLUS(activate(N), activate(M))
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X2)
ACTIVATE(n__s(X)) → ACTIVATE(X)
X(N, 0) → ISNAT(N)
U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
ACTIVATE(n__0) → 01
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
X(N, s(M)) → ISNAT(M)
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X1)
U311(tt, V1, V2) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__x(X1, X2)) → X(activate(X1), activate(X2))
U411(tt, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
ACTIVATE(n__and(X1, X2)) → AND(activate(X1), X2)
ACTIVATE(n__s(X)) → S(activate(X))
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V1)
U711(tt, M, N) → ACTIVATE(N)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U211(tt, V1) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X2)
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
U121(tt, V2) → ACTIVATE(V2)
PLUS(N, s(M)) → ISNAT(M)
U511(tt, M, N) → ACTIVATE(M)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U211(tt, V1) → U221(isNat(activate(V1)))
ACTIVATE(n__and(X1, X2)) → ACTIVATE(X1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U511(tt, M, N) → S(plus(activate(N), activate(M)))
U311(tt, V1, V2) → ISNAT(activate(V1))
U121(tt, V2) → ISNAT(activate(V2))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__plus(X1, X2)) → PLUS(activate(X1), activate(X2))
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
PLUS(N, 0) → ISNAT(N)
X(N, 0) → AND(isNat(N), n__isNatKind(N))
U611(tt) → 01
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
U111(tt, V1, V2) → ISNAT(activate(V1))
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
U321(tt, V2) → ISNAT(activate(V2))
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
U121(tt, V2) → U131(isNat(activate(V2)))
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U211(tt, V1) → ACTIVATE(V1)
X(N, 0) → U611(and(isNat(N), n__isNatKind(N)))
U311(tt, V1, V2) → ACTIVATE(V2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U711(tt, M, N) → X(activate(N), activate(M))
U321(tt, V2) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X1)
U321(tt, V2) → U331(isNat(activate(V2)))
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
isNat(X) → n__isNat(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(activate(X))
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
U111(tt, V1, V2) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U511(tt, M, N) → ACTIVATE(N)
U511(tt, M, N) → PLUS(activate(N), activate(M))
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X2)
X(N, 0) → ISNAT(N)
ACTIVATE(n__s(X)) → ACTIVATE(X)
U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
X(N, s(M)) → ISNAT(M)
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X1)
U311(tt, V1, V2) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__x(X1, X2)) → X(activate(X1), activate(X2))
U411(tt, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
ACTIVATE(n__and(X1, X2)) → AND(activate(X1), X2)
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V1)
U711(tt, M, N) → ACTIVATE(N)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U211(tt, V1) → ISNAT(activate(V1))
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X2)
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
U121(tt, V2) → ACTIVATE(V2)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
U511(tt, M, N) → ACTIVATE(M)
PLUS(N, s(M)) → ISNAT(M)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ACTIVATE(n__and(X1, X2)) → ACTIVATE(X1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U311(tt, V1, V2) → ISNAT(activate(V1))
U121(tt, V2) → ISNAT(activate(V2))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ACTIVATE(n__plus(X1, X2)) → PLUS(activate(X1), activate(X2))
PLUS(N, 0) → ISNAT(N)
X(N, 0) → AND(isNat(N), n__isNatKind(N))
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
U111(tt, V1, V2) → ISNAT(activate(V1))
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
U321(tt, V2) → ISNAT(activate(V2))
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U211(tt, V1) → ACTIVATE(V1)
U311(tt, V1, V2) → ACTIVATE(V2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U711(tt, M, N) → X(activate(N), activate(M))
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
U321(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X1)
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
isNat(X) → n__isNat(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(activate(X))
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U111(tt, V1, V2) → ACTIVATE(V2)
ISNAT(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U511(tt, M, N) → ACTIVATE(N)
PLUS(N, 0) → AND(isNat(N), n__isNatKind(N))
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X2)
X(N, 0) → ISNAT(N)
ACTIVATE(n__s(X)) → ACTIVATE(X)
U111(tt, V1, V2) → U121(isNat(activate(V1)), activate(V2))
ISNATKIND(n__s(V1)) → ISNATKIND(activate(V1))
X(N, s(M)) → ISNAT(M)
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X1)
U311(tt, V1, V2) → ACTIVATE(V1)
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V1)
U411(tt, N) → ACTIVATE(N)
U711(tt, M, N) → ACTIVATE(M)
ACTIVATE(n__and(X1, X2)) → AND(activate(X1), X2)
ISNAT(n__s(V1)) → ACTIVATE(V1)
U111(tt, V1, V2) → ACTIVATE(V1)
U711(tt, M, N) → ACTIVATE(N)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V1)
PLUS(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
PLUS(N, s(M)) → U511(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U211(tt, V1) → ISNAT(activate(V1))
ACTIVATE(n__plus(X1, X2)) → ACTIVATE(X2)
ISNAT(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__s(V1)) → ISNATKIND(activate(V1))
ISNATKIND(n__x(V1, V2)) → ACTIVATE(V2)
U511(tt, M, N) → ACTIVATE(M)
PLUS(N, s(M)) → ISNAT(M)
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V1)
ISNATKIND(n__plus(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
ISNAT(n__x(V1, V2)) → ISNATKIND(activate(V1))
ACTIVATE(n__and(X1, X2)) → ACTIVATE(X1)
ISNAT(n__x(V1, V2)) → U311(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNATKIND(n__x(V1, V2)) → ISNATKIND(activate(V1))
X(N, s(M)) → U711(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
U311(tt, V1, V2) → ISNAT(activate(V1))
ISNATKIND(n__s(V1)) → ACTIVATE(V1)
ISNAT(n__plus(V1, V2)) → ISNATKIND(activate(V1))
ACTIVATE(n__plus(X1, X2)) → PLUS(activate(X1), activate(X2))
PLUS(N, 0) → ISNAT(N)
X(N, 0) → AND(isNat(N), n__isNatKind(N))
ISNATKIND(n__plus(V1, V2)) → ISNATKIND(activate(V1))
U111(tt, V1, V2) → ISNAT(activate(V1))
X(N, s(M)) → AND(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N)))
U711(tt, M, N) → PLUS(x(activate(N), activate(M)), activate(N))
ISNATKIND(n__plus(V1, V2)) → ACTIVATE(V2)
ISNAT(n__plus(V1, V2)) → ACTIVATE(V2)
U321(tt, V2) → ISNAT(activate(V2))
ISNAT(n__x(V1, V2)) → ACTIVATE(V2)
X(N, s(M)) → AND(isNat(M), n__isNatKind(M))
U211(tt, V1) → ACTIVATE(V1)
U311(tt, V1, V2) → ACTIVATE(V2)
PLUS(N, 0) → U411(and(isNat(N), n__isNatKind(N)), N)
ISNATKIND(n__x(V1, V2)) → AND(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U711(tt, M, N) → X(activate(N), activate(M))
ISNAT(n__x(V1, V2)) → ACTIVATE(V1)
U321(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__x(X1, X2)) → ACTIVATE(X1)
PLUS(N, s(M)) → AND(isNat(M), n__isNatKind(M))
Used ordering: Combined order from the following AFS and order.
U511(tt, M, N) → PLUS(activate(N), activate(M))
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ACTIVATE(n__x(X1, X2)) → X(activate(X1), activate(X2))
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U121(tt, V2) → ACTIVATE(V2)
U121(tt, V2) → ISNAT(activate(V2))
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
ACTIVATE(n__isNat(X)) → ISNAT(X)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
[tt, 0, U12, U13, U22, n0] > [nx2, X2, U71^13, x2, U713] > [U11^12, nplus2, U513, plus2] > [U51^12, PLUS2] > [and2, nand2] > [U111, U313]
[tt, 0, U12, U13, U22, n0] > [nx2, X2, U71^13, x2, U713] > [U11^12, nplus2, U513, plus2] > [U51^12, PLUS2] > U41^11 > [U111, U313]
[tt, 0, U12, U13, U22, n0] > [nx2, X2, U71^13, x2, U713] > [U11^12, nplus2, U513, plus2] > [ns1, s1, U21^11] > [U111, U313]
[tt, 0, U12, U13, U22, n0] > [nx2, X2, U71^13, x2, U713] > [U11^12, nplus2, U513, plus2] > U412 > [U111, U313]
[tt, 0, U12, U13, U22, n0] > [nx2, X2, U71^13, x2, U713] > [U31^12, U32^12] > [U111, U313]
[tt, 0, U12, U13, U22, n0] > [nx2, X2, U71^13, x2, U713] > U611 > [U111, U313]
nplus2: [1,2]
U51^12: multiset
U41^11: multiset
U22: []
x2: [2,1]
and2: multiset
ns1: multiset
U71^13: [2,3,1]
PLUS2: multiset
U313: multiset
tt: multiset
U11^12: [1,2]
U31^12: multiset
U111: multiset
s1: multiset
U513: [3,2,1]
U13: []
X2: [2,1]
plus2: [1,2]
U611: multiset
U12: []
U32^12: multiset
0: multiset
nand2: multiset
U412: multiset
n0: multiset
nx2: [2,1]
U21^11: multiset
U713: [2,3,1]
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U13(tt) → tt
U12(tt, V2) → U13(isNat(activate(V2)))
U22(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
activate(n__0) → 0
isNat(X) → n__isNat(X)
and(X1, X2) → n__and(X1, X2)
x(X1, X2) → n__x(X1, X2)
activate(n__s(X)) → s(activate(X))
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
activate(n__and(X1, X2)) → and(activate(X1), X2)
and(tt, X) → activate(X)
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
activate(n__isNatKind(X)) → isNatKind(X)
U41(tt, N) → activate(N)
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
s(X) → n__s(X)
isNatKind(X) → n__isNatKind(X)
plus(X1, X2) → n__plus(X1, X2)
0 → n__0
activate(X) → X
activate(n__isNat(X)) → isNat(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
U121(tt, V2) → ACTIVATE(V2)
ACTIVATE(n__isNatKind(X)) → ISNATKIND(X)
ACTIVATE(n__isNat(X)) → ISNAT(X)
U121(tt, V2) → ISNAT(activate(V2))
ISNAT(n__plus(V1, V2)) → U111(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
ISNAT(n__s(V1)) → U211(isNatKind(activate(V1)), activate(V1))
U311(tt, V1, V2) → U321(isNat(activate(V1)), activate(V2))
AND(tt, X) → ACTIVATE(X)
U511(tt, M, N) → PLUS(activate(N), activate(M))
ACTIVATE(n__x(X1, X2)) → X(activate(X1), activate(X2))
U11(tt, V1, V2) → U12(isNat(activate(V1)), activate(V2))
U12(tt, V2) → U13(isNat(activate(V2)))
U13(tt) → tt
U21(tt, V1) → U22(isNat(activate(V1)))
U22(tt) → tt
U31(tt, V1, V2) → U32(isNat(activate(V1)), activate(V2))
U32(tt, V2) → U33(isNat(activate(V2)))
U33(tt) → tt
U41(tt, N) → activate(N)
U51(tt, M, N) → s(plus(activate(N), activate(M)))
U61(tt) → 0
U71(tt, M, N) → plus(x(activate(N), activate(M)), activate(N))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__plus(V1, V2)) → U11(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNat(n__s(V1)) → U21(isNatKind(activate(V1)), activate(V1))
isNat(n__x(V1, V2)) → U31(and(isNatKind(activate(V1)), n__isNatKind(activate(V2))), activate(V1), activate(V2))
isNatKind(n__0) → tt
isNatKind(n__plus(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
isNatKind(n__s(V1)) → isNatKind(activate(V1))
isNatKind(n__x(V1, V2)) → and(isNatKind(activate(V1)), n__isNatKind(activate(V2)))
plus(N, 0) → U41(and(isNat(N), n__isNatKind(N)), N)
plus(N, s(M)) → U51(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
x(N, 0) → U61(and(isNat(N), n__isNatKind(N)))
x(N, s(M)) → U71(and(and(isNat(M), n__isNatKind(M)), n__and(n__isNat(N), n__isNatKind(N))), M, N)
0 → n__0
plus(X1, X2) → n__plus(X1, X2)
isNatKind(X) → n__isNatKind(X)
s(X) → n__s(X)
x(X1, X2) → n__x(X1, X2)
and(X1, X2) → n__and(X1, X2)
isNat(X) → n__isNat(X)
activate(n__0) → 0
activate(n__plus(X1, X2)) → plus(activate(X1), activate(X2))
activate(n__isNatKind(X)) → isNatKind(X)
activate(n__s(X)) → s(activate(X))
activate(n__x(X1, X2)) → x(activate(X1), activate(X2))
activate(n__and(X1, X2)) → and(activate(X1), X2)
activate(n__isNat(X)) → isNat(X)
activate(X) → X